package cn.kgc.login.dao;

import java.util.Map;
import java.util.Set;

/**
 * Created by teacher ZHANG on 2022/12/5
 */
public interface RedisDao {
    public void hashSet(String key, Map<String, String> value);
    public Map<Object, Object> hashGet(String key);

    public Set<String> keys(String pattern);
    public Boolean keyExist(String key);
    public void setExpire(String key, Integer secs);
    public Integer getExpire(String key);

    public void strSet(String key, String value, Integer secs);
    public String strGet(String key);
}
